package cannot.mapper;

import cannot.pojo.OtherType;
import cannot.pojo.OtherTypeExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface OtherTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OtherType record);

    int insertSelective(OtherType record);

    List<OtherType> selectByExample(OtherTypeExample example);

    OtherType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OtherType record);

    int updateByPrimaryKey(OtherType record);
    List<OtherType>  listByMainType(Integer id);
}